package com.yongan.purchase.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.purchase.entity.PurchaseReturn;

public interface PurchaseReturnDao {
	
	PurchaseReturn queryById(String purchaseReturnId);
	
	List<PurchaseReturn> queryAll(@Param("offset")int offset,@Param("limit")int limit);
	
	int insertPurchaseReturn(PurchaseReturn purchaseReturn);
	
	int deletePurchaseReturn(String purchaseReturnId);
	
	int updatePurchaseReturn(PurchaseReturn purchaseReturn);
	
	int queryCount();
}
